package com.glp.work.flow.mapper;

import com.glp.work.flow.pojo.WfFormExample;
import com.glp.work.flow.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 表单实例持久层
 *
 * @author jhuang1
 */
public interface WfFormExampleMapper extends MyMapper<WfFormExample> {

    /**
     * 根据流程实例及formKey查询表单实例
     *
     * @param processId 流程实例
     * @param formKey   表达key
     * @return 表单实例
     */
    WfFormExample selectByProcessId(@Param(value = "processId") String processId,
                                    @Param(value = "formKey") String formKey);
}